package com.google.code.irouter.portal.client.dashboard.main.center.managers.library.browser.guide.editor.form;

import com.gwtext.client.widgets.Component;
import com.gwtext.client.widgets.form.event.ComboBoxListenerAdapter;

public final class DetectorListener extends ComboBoxListenerAdapter {
	private boolean loaded = false;
	@Override
	public boolean doBeforeShow(Component component) {
		if(!loaded) {
			((Detector) component).load();
			loaded = true;
		}
		return true;
	}
}
